# coding=utf8
import os

import sys
reload(sys)
sys.setdefaultencoding('utf8')

keywdfile = open("E://Workspace//share//ent_name_list_bigpart1.txt")
lines = keywdfile.readlines()
keywdfile.close()

for line in lines:
    line = line.strip()
    if line:
        kw = line
        import subprocess
        cmd = [
                'python',
                'main.py',
                kw
            ]
        p = subprocess.Popen(cmd)
        p.wait()